package org.hashdb.client.net.bio.get;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hashdb.client.net.bio.MessageType;
import org.hashdb.client.net.bio.msg.Message;

/**
 * Date: 2023/12/1 2:14
 *
 * @author huanyuMake-pecdle
 * @version 0.0.1
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class HeartbeatMessage extends Message {

    protected long beat;

    public HeartbeatMessage() {
    }

    @Override
    public MessageType getType() {
        return MessageType.HEARTBEAT;
    }
}
